package com.ruoyi.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.xss.Xss;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * 用户对象 sys_user
 *
 * @author ruoyi
 */
public class SysBatchUser extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * 加密后密码
     */
    private String password;
    /**
     * 原密码
     */
    private String srcpassword;


    // 批量新增用户数量
    @NotBlank(message = "新增用户数量不能为空")
    private Integer num;

    // 批量新增用户前缀
    @Xss(message = "用户前缀不能包含脚本字符")
    private String pre;

    public SysBatchUser() {

    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSrcpassword() {
        return srcpassword;
    }

    public void setSrcpassword(String srcpassword) {
        this.srcpassword = srcpassword;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getPre() {
        return pre;
    }

    public void setPre(String pre) {
        this.pre = pre;
    }
}
